package com.sarnath.sardoop.modules.hadoop.entity;

public class MrJobCreateEntity {
	private String name;
	private String jarPath;
	private String combinerClass;
	private Task reducer;
	private Task mapper;
	static public class Task{
		private String className;
		private int type; //1:text 2:hbase
		private String path;
		private String tableName;
		private String outKeyType;//string，int
		private String outValueType;
		public String getClassName() {
			return className;
		}
		public void setClassName(String className) {
			this.className = className;
		}
		public int getType() {
			return type;
		}
		public void setType(int type) {
			this.type = type;
		}
		public String getPath() {
			return path;
		}
		public void setPath(String path) {
			this.path = path;
		}
		public String getTableName() {
			return tableName;
		}
		public void setTableName(String tableName) {
			this.tableName = tableName;
		}
		public String getOutKeyType() {
			return outKeyType;
		}
		public void setOutKeyType(String outKeyType) {
			this.outKeyType = outKeyType;
		}
		public String getOutValueType() {
			return outValueType;
		}
		public void setOutValueType(String outValueType) {
			this.outValueType = outValueType;
		}
		
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public String getJarPath() {
		return jarPath;
	}
	public void setJarPath(String jarPath) {
		this.jarPath = jarPath;
	}
	public String getCombinerClass() {
		return combinerClass;
	}
	public void setCombinerClass(String combinerClass) {
		this.combinerClass = combinerClass;
	}
	public Task getReducer() {
		return reducer;
	}
	public void setReducer(Task reducer) {
		this.reducer = reducer;
	}
	public Task getMapper() {
		return mapper;
	}
	public void setMapper(Task mapper) {
		this.mapper = mapper;
	}
}
